package com.diaohw.platform.remote.metadata.obj.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 自定义属性参数表 VO
 *
 * @author D-Hw
 * @since 2024-09-18
 */
@Data
@Accessors(chain = true)
@Schema(name = "CustomAttributeParamDO", description = "自定义属性参数表 VO")
public class TableParamBO implements Serializable {


    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Schema(description = "ID")
    private String id;

    /**
     * 表名称
     */
    @Schema(description = "表名称")
    private String tableName;

    /**
     * 表code
     */
    @Schema(description = "表code")
    private String tableCode;

    /**
     * 表别名
     */
    @Schema(description = "表别名")
    private String alias;

    /**
     * 版本号
     */
    @Schema(description = "版本号")
    private String version;

    /**
     * 状态;1正常，2：删除
     */
    @Schema(description = "状态;1正常，2：删除")
    private Integer status;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 属性输入项信息
     */
    @Schema(description = "属性输入项信息")
    private List<TableColumnBo> columns;
    /**
     * 参数值
     */
    @Schema(description = "参数值")
    private ParamBO params;

}
